package com.example.questionnaire.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
@TableName("pie")
public class PieEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 问题的id号
     */
    @TableId
    private Integer id;
    /**
     * 问题的选项1(单选)
     */
    private String option1;
    /**
     * 问题的选项2(单选)
     */
    private String option2;
    /**
     * 问题的选项3(单选)
     */
    private String option3;
    /**
     * 问题的选项4(单选)
     */
    private String option4;
    /**
     * 问题1选项
     */
    private Integer number1;
    /**
     * 问题2选项
     */
    private Integer number2;
    /**
     * 问题3选项
     */
    private Integer number3;
    /*
    *问题4选项
     */
    private Integer number4;
    /*
    *所填答案对应问卷的id
     */
    private Integer questionnaireId;
    /*
    *所填答案对应的问卷的第几题
     */
    private Integer problemId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOption1() {
        return option1;
    }

    public void setOption1(String option1) {
        this.option1 = option1;
    }

    public String getOption2() {
        return option2;
    }

    public void setOption2(String option2) {
        this.option2 = option2;
    }

    public String getOption3() {
        return option3;
    }

    public void setOption3(String option3) {
        this.option3 = option3;
    }

    public String getOption4() {
        return option4;
    }

    public void setOption4(String option4) {
        this.option4 = option4;
    }

    public Integer getNumber1() {
        return number1;
    }

    public void setNumber1(Integer number1) {
        this.number1 = number1;
    }

    public Integer getNumber2() {
        return number2;
    }

    public void setNumber2(Integer number2) {
        this.number2 = number2;
    }

    public Integer getNumber3() {
        return number3;
    }

    public void setNumber3(Integer number3) {
        this.number3 = number3;
    }

    public Integer getNumber4() {
        return number4;
    }

    public void setNumber4(Integer number4) {
        this.number4 = number4;
    }

    public Integer getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(Integer questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    public Integer getProblemId() {
        return problemId;
    }

    public void setProblemId(Integer problemId) {
        this.problemId = problemId;
    }
}
